﻿#ifndef SAVETASK_H
#define SAVETASK_H

#include <QImage>


//此类用来执行任务动作
class SaveTask
{
public:
    SaveTask(QImage image,QString path,QByteArray message);
    bool saveImage();
    QString path();
private:
    QByteArray ShortToArray(unsigned short v);
private:
    QImage m_image;
    QString m_strSavePath;
    QByteArray assist_message;

};

#endif // SAVETASK_H
